.content {
  height: 100%;
  background-color: #fff;

  :global {
    .adm-nav-bar {
      .adm-nav-bar-left {
        .adm-nav-bar-back-arrow {
          color: var(--inbiz-color-text);
          font-size: 20px;
        }
      }
    }
  }
}

:global {
  .Highlighter {
    color: var(--inbiz-color-primary);
  }
}

.tabs {
  position: relative;
  height: calc(100% - 90px);

  :global {
    .adm-tabs-header {
      border-bottom: 1px solid #f8f8f8;

      .adm-tabs-tab-list {
        .adm-tabs-tab-wrapper {
          flex: none !important;

          .adm-tabs-tab {
            color: var(--inbiz-color-heading);
            font-size: 16px;

            &.adm-tabs-tab-active {
              color: var(--inbiz-color-primary);
              font-size: 16px;
            }
          }
        }

        .adm-tabs-tab-line {
          background: var(--inbiz-color-primary);
        }
      }
    }

    .adm-tabs-content {
      position: relative;
      height: calc(100% - 45px);
      padding: 0 var(--content-padding) var(--content-padding);

      > div {
        height: 100%;
      }
    }

    .adm-list {
      .adm-list-body {
        border: none;

        .adm-infinite-scroll {
          border-top: 1px solid #f8f8f8;
        }

        .adm-list-item {
          .adm-list-item-content {
            padding: 12px 0;
            padding-right: var(--padding-right);
            border: none;
            border-bottom: 1px solid #f8f8f8;
          }

          .adm-list-item-content-main {
            flex: 1;
            padding: 0;
            color: var(--inbiz-color-heading);
            font-size: 16px;
          }

          .adm-list-item-content-extra {
            .rowCheckbox {
              display: flex;
              flex-direction: column;
              align-items: center;
              align-self: stretch;
              justify-content: center;
              justify-self: stretch;
              width: 50px;
              text-align: center;

              &.adm-checkbox-checked {
                .adm-checkbox-icon {
                  background-color: var(--inbiz-color-primary);
                  border-color: var(--inbiz-color-primary);
                }
              }

              &:global(.adm-checkbox-checked) {
                :global(.adm-checkbox-icon) {
                  width: 20px;
                  height: 20px;
                  background-color: var(--inbiz-color-primary);
                  border-color: var(--inbiz-color-primary);
                }
              }

              :global {
                .adm-checkbox-icon {
                  width: 10px;
                  height: 10px;
                }
              }
            }

            .adm-checkbox {
              display: flex;
              flex-direction: column;
              align-items: center;
              align-self: stretch;
              justify-content: center;
              justify-self: stretch;
              width: 50px;
              text-align: center;

              &.adm-checkbox-checked {
                .adm-checkbox-icon {
                  background-color: var(--inbiz-color-primary);
                  border-color: var(--inbiz-color-primary);
                }
              }

              &:global(.adm-checkbox-checked) {
                :global(.adm-checkbox-icon) {
                  width: 20px;
                  height: 20px;
                  background-color: var(--inbiz-color-primary);
                  border-color: var(--inbiz-color-primary);
                }
              }

              :global {
                .adm-checkbox-icon {
                  width: 10px;
                  height: 10px;
                }
              }
            }
          }
        }
      }
    }
  }
}

.hideTabBar {
  :global {
    .adm-tabs-tab-wrapper {
      display: none;
    }
  }

  &.tabs {
    height: calc(100% - 45px);
  }
}

.selectedCountRow {
  display: flex;
  flex: 0 0 45px;
  align-items: center;
  height: 44px;
  margin-top: 5px;
  padding: 0 10px;
  line-height: 44px;
  background-color: #fff;
  border-top: 1px solid #f8f8f8;

  .selectedCountRowLeft {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;

    .selectAll {
      margin-right: 10px;
      color: var(--inbiz-color-primary);
      font-size: 16px;
    }

    .selected {
      color: var(--inbiz-color-secondary-text);
      font-size: 12px;
    }
  }
}

.userTab {
  padding-top: 12px;

  :global {
    .adm-search-bar-active {
      .adm-search-bar-input-box {
        background: var(--inbiz-color-white);
        border-color: var(--inbiz-color-primary);
      }
    }
  }
}
